package model.technology;
import java.util.*;

public abstract class TechnologyTree 
{
	TechnologyTreeNode technologyTreeHead;
	ArrayList<TechnologyTreeNode> availableTechnologies;
	
	public TechnologyTreeNode getTechnologyTreeHead()
	{
		return technologyTreeHead;
	}
	
	public void setTechnologyTreeHead(TechnologyTreeNode node)
	{
		technologyTreeHead = node;
	}
	
	public ArrayList<TechnologyTreeNode> getAvailableTechnologies()
	{
		return availableTechnologies;
	}
	
	public void setAvailableTechnologies(ArrayList<TechnologyTreeNode> nodes)
	{
		availableTechnologies = nodes;
	}
	
	public void addAvailableTechnology(TechnologyTreeNode node)
	{
		availableTechnologies.add(node);
	}
	
	public String toString()
	{
		return "Technology Tree";
	}
}